/*
 * Copyright (c) 2024 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (theLicense");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *      http://www.apache.org/licenses/LICENSE-20
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef HARMONY_CARDVIEW_SRC_MAIN_CPP_PROPS_H
#define HARMONY_CARDVIEW_SRC_MAIN_CPP_PROPS_H

#include "ReactCommon/TurboModule.h"
#include <react/renderer/components/view/ViewProps.h>
#include <react/renderer/core/PropsParserContext.h>
namespace facebook {
    namespace react {

        class JSI_EXPORT RNCardViewProps final : public ViewProps {
            public:
                RNCardViewProps() = default;
                RNCardViewProps(const PropsParserContext &context, const RNCardViewProps &sourceProps,
                    const RawProps &rawProps);

            #pragma mark - Props
                
                Float cornerRadius{0.0};
                Float  cardElevation{0.0};
                Float cardMaxElevation{0.0};
                bool useCompatPadding{false};
                bool cornerOverlap{true};
                int backgroundcolor{0};
        };
    } // namespace react
} // namespace facebook

#endif